package cn.edu.scau.cmi.liuan.builderPattern;

public class Builder {
	
	public ChickenBuilder Getchicken(int type) {
		switch(type) {
			case 0:
				return new VeryspicyBig();
			case 1:
				return new VeryspicyMiddle();
			case 2:
				return new VeryspicySmall();
			case 3:
				return new MiddlespicyBig();
			case 4:
				return new MiddlespicyMiddle();
			case 5:
				return new MiddlespicySmall();
			case 6:
				return new LittlespicyBig();
			case 7:
				return new LittlespicyMiddle();
			case 8:
				return new LittlespicySmall();
			case 9:
				return new NotspicyBig();
			case 10:
				return new NotspicyMiddle();
			case 11:
				return new NotspicySmall();
			default:
				return null;
		}
	}
	
	
}